package collect.taobao.service.impl;
import collect.taobao.service.CartoonStatService;
import collect.taobao.bean.CartoonStatBean;
import collect.taobao.dao.CartoonStatDao;


import java.util.List;

public class CartoonStatServiceImpl implements CartoonStatService{
	
	private CartoonStatDao cartoonStatDao;
	
	public CartoonStatServiceImpl() {
		super();
	}

	public int delete(CartoonStatBean cartoonStatBean) {
		return cartoonStatDao.delete(cartoonStatBean);
	}

	public CartoonStatBean query(String id) {
		return cartoonStatDao.query(id);
	}

	public List queryList() {
		return cartoonStatDao.queryList();
	}

	public int save(CartoonStatBean cartoonStatBean) {
		return cartoonStatDao.save(cartoonStatBean);
	}

	public int update(CartoonStatBean cartoonStatBean) {
		return cartoonStatDao.update(cartoonStatBean);
	}

	public void setCartoonStatDao(CartoonStatDao cartoonStatDao) {
		this.cartoonStatDao = cartoonStatDao;
	}

	public List queryListByClassification(String classification) {
		// TODO Auto-generated method stub
		return cartoonStatDao.queryListByClassification(classification);
	}

	public List queryListByName(String name) {
		// TODO Auto-generated method stub
		return cartoonStatDao.queryListByName(name);
	}

	public List queryListOrderByclicks() {
		// TODO Auto-generated method stub
		return cartoonStatDao.queryListOrderByclicks();
	}
	

}
